﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PalcoCentral.Database
{
    class ContextAdapterSingleton
    {
        private static ContextAdapterSingleton instance =null;

        public static ContextAdapterSingleton getInstance()
        {
            if (instance == null)
            {
                instance = new ContextAdapterSingleton();
            }

            return instance;
        }

          public  Database.PalcoCentraBDEntities entity;
          private ContextAdapterSingleton()
        {
            this.entity = new PalcoCentraBDEntities();
        }
    }
}
